<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script>

    function getnumber(num) {

  let arr =[1,3,5,7,11,13,15]

    for(let i=0; i<arr.length; i++){
      for(let j=i+1; j<arr.length; j++) {
        if(num === arr[i]*arr[j]) {
          return [arr[i],arr[j]]
        } 
        // else {
        //   return '111'
        // }
      }
    }
}
const num = +prompt('输入数字')
console.log(getnumber(num));


  </script>
</body>
</html>